﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YaoGuaiParty
{
    public struct CalcuResult
    {
        public CalcuResult(Component.Piece start, Component.Piece end, int count, CalcuResultOrientation orientation)
        {
            this.Start = start;
            this.Count = count;
            this.Orientation = orientation;
            this.End = end;
        }
        public Component.Piece Start ;

        public Component.Piece End ;
        public int Count;
        /// <summary>
        /// 描述是水平连接还是垂直连接
        /// </summary>
        public CalcuResultOrientation Orientation;
    }

    public enum CalcuResultOrientation
    {
        None,//没有连接
        Horizontal,//水平方向连接
        Vertical //垂直方向连接

    }
}
